package com.lczyfz.istep.modules.openstack.api.nova;


import com.lczyfz.istep.modules.openstack.api.nova.impl.FlavorsImpl;
import com.lczyfz.istep.modules.openstack.api.nova.impl.VirtualMachineImpl;
import com.lczyfz.istep.modules.openstack.api.nova.interfaces.Flavors;
import com.lczyfz.istep.modules.openstack.api.nova.interfaces.VirtualMachine;

/**
 * Nova ���������API
 * @author jm
 */
public class Nova {
	
	public Flavors flavorService;
	
	public VirtualMachine virtualMachineService;
	
	public Nova(){
		flavorService = new FlavorsImpl();
		virtualMachineService = new VirtualMachineImpl();
	}
	
	public static void main(String[] args){
		Nova nova = new Nova();
		System.out.println(nova.virtualMachineService.getServers());
		System.out.println(nova.flavorService.getFlavorDetail());
		
	}
}
